package huixue.cn.com.rxapp.login.service;

import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;

import huixue.cn.com.library.util.LogUtils;
import huixue.cn.com.library.util.ToastUtils;

public class MyService extends Service {
    public MyService() {
    }


    @Override
    public IBinder onBind(Intent intent) {
        LogUtils.e("==onBind===");
        return new Binder();
    }

    @Override
    public void onCreate() {
        super.onCreate();
        LogUtils.e("==onCreate===");
    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
        LogUtils.e("==onStartCommand===");
        return START_STICKY;
    }


    @Override
    public void onDestroy() {
        LogUtils.e("==onDestroy===");
        super.onDestroy();
    }

    @Override
    public boolean onUnbind(Intent intent) {
        LogUtils.e("==onUnbind===");
        return super.onUnbind(intent);
    }

}
